<%@ page language="java" pageEncoding="utf-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>

<html>
  <head>
  <sx:head/>
    <title>Example0_Struts 首页</title>
  </head>
  
  <body>  
	<center>
		<h3>添加学生信息</h3>
		<s:form action="save.action" method="post" theme="simple">
			<table width="250" height="224">
				<tr>
					<td>学号：</td>
					<td><s:textfield name="xs.xh"></s:textfield> </td>
				</tr>
				<tr>
					<td>姓名：</td>
					<td><s:textfield name="xs.xm"></s:textfield>  </td>
				</tr>
				<tr>
					<td>性别：</td>
					<td>
						<s:radio name="xs.xb" list="#{1:'男',2:'女'}" value="1"></s:radio>
					</td>
				</tr>
				<tr>
					<td>专业：</td>
					<td><s:textfield name="xs.zy" label="专业"></s:textfield>  </td>
				</tr>
				<tr>
					<td width="70">出生时间：</td>
					<td><sx:datetimepicker name="xs.cssj" id="cssj"
							displayFormat="yyyy-MM-dd"></sx:datetimepicker>  </td>
				</tr>
				<tr>
					<td>备注：</td>
					<td> <s:textarea name="xs.bz"></s:textarea> </td>
				</tr>
				<tr>
					<td><s:submit value="添加"></s:submit></td>
					<td><s:reset value="重置"></s:reset></td>
				</tr>
			</table>
		</s:form>
	</center>
  </body>
</html>